package com.jic.member.mapper.power;

import java.lang.Long;
import java.util.List;


import com.jic.member.entity.power.MememberUserLedger;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员积分台账表
 * @author : 
 * @email : 
 * @since : 2020-06-16 11:40:47
 * @version : v1.0.0
 */
@Mapper
public interface  MememberUserLedgerMapper {

    long insert(MememberUserLedger mememberUserLedger);

    long delete(Long id);

    long update(MememberUserLedger mememberUserLedger);

    MememberUserLedger queryByPrimaryKey(Long id);

    List<MememberUserLedger> query(MememberUserLedger mememberUserLedger);

    List<MememberUserLedger> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberUserLedger") MememberUserLedger mememberUserLedger);

    long queryPageCount(MememberUserLedger mememberUserLedger);
}